package com.raycloud.robot.domain.dto;

import java.util.Date;

public class ActivitySetting{
    private Long id;
    private Integer appId;
    private String businessId;
    private String configKey;
    private String configValue;
    private String description;
    private Boolean isValid;
    private Date updateTime;
    private Date insertTime;
    public Long getId(){
        return this.id;
    }
    public Integer getAppId(){
        return this.appId;
    }
    public String getBusinessId(){
        return this.businessId;
    }
    public String getConfigKey(){
        return this.configKey;
    }
    public String getConfigValue(){
        return this.configValue;
    }
    public String getDescription(){
        return this.description;
    }
    public Boolean getIsValid(){
        return this.isValid;
    }
    public Date getUpdateTime(){
        return this.updateTime;
    }
    public Date getInsertTime(){
        return this.insertTime;
    }
    public void setId(final Long id){
        this.id=id;
    }
    public void setAppId(final Integer appId){
        this.appId=appId;
    }
    public void setBusinessId(final String businessId){
        this.businessId=businessId;
    }
    public void setConfigKey(final String configKey){
        this.configKey=configKey;
    }
    public void setConfigValue(final String configValue){
        this.configValue=configValue;
    }
    public void setDescription(final String description){
        this.description=description;
    }
    public void setIsValid(final Boolean isValid){
        this.isValid=isValid;
    }
    public void setUpdateTime(final Date updateTime){
        this.updateTime=updateTime;
    }
    public void setInsertTime(final Date insertTime){
        this.insertTime=insertTime;
    }
    @Override
    public boolean equals(final Object o){
        if(o==this){
            return true;
        }
        if(!(o instanceof ActivitySetting)){
            return false;
        }
        final ActivitySetting other=(ActivitySetting)o;
        if(!other.canEqual(this)){
            return false;
        }
        final Object this$id=this.getId();
        final Object other$id=other.getId();
        Label_0065:{
            if(this$id==null){
                if(other$id==null){
                    break Label_0065;
                }
            }
            else if(this$id.equals(other$id)){
                break Label_0065;
            }
            return false;
        }
        final Object this$appId=this.getAppId();
        final Object other$appId=other.getAppId();
        Label_0102:{
            if(this$appId==null){
                if(other$appId==null){
                    break Label_0102;
                }
            }
            else if(this$appId.equals(other$appId)){
                break Label_0102;
            }
            return false;
        }
        final Object this$businessId=this.getBusinessId();
        final Object other$businessId=other.getBusinessId();
        Label_0139:{
            if(this$businessId==null){
                if(other$businessId==null){
                    break Label_0139;
                }
            }
            else if(this$businessId.equals(other$businessId)){
                break Label_0139;
            }
            return false;
        }
        final Object this$configKey=this.getConfigKey();
        final Object other$configKey=other.getConfigKey();
        Label_0176:{
            if(this$configKey==null){
                if(other$configKey==null){
                    break Label_0176;
                }
            }
            else if(this$configKey.equals(other$configKey)){
                break Label_0176;
            }
            return false;
        }
        final Object this$configValue=this.getConfigValue();
        final Object other$configValue=other.getConfigValue();
        Label_0213:{
            if(this$configValue==null){
                if(other$configValue==null){
                    break Label_0213;
                }
            }
            else if(this$configValue.equals(other$configValue)){
                break Label_0213;
            }
            return false;
        }
        final Object this$description=this.getDescription();
        final Object other$description=other.getDescription();
        Label_0250:{
            if(this$description==null){
                if(other$description==null){
                    break Label_0250;
                }
            }
            else if(this$description.equals(other$description)){
                break Label_0250;
            }
            return false;
        }
        final Object this$isValid=this.getIsValid();
        final Object other$isValid=other.getIsValid();
        Label_0287:{
            if(this$isValid==null){
                if(other$isValid==null){
                    break Label_0287;
                }
            }
            else if(this$isValid.equals(other$isValid)){
                break Label_0287;
            }
            return false;
        }
        final Object this$updateTime=this.getUpdateTime();
        final Object other$updateTime=other.getUpdateTime();
        Label_0324:{
            if(this$updateTime==null){
                if(other$updateTime==null){
                    break Label_0324;
                }
            }
            else if(this$updateTime.equals(other$updateTime)){
                break Label_0324;
            }
            return false;
        }
        final Object this$insertTime=this.getInsertTime();
        final Object other$insertTime=other.getInsertTime();
        if(this$insertTime==null){
            if(other$insertTime==null){
                return true;
            }
        }
        else if(this$insertTime.equals(other$insertTime)){
            return true;
        }
        return false;
    }
    protected boolean canEqual(final Object other){
        return other instanceof ActivitySetting;
    }
    @Override
    public int hashCode(){
        final int PRIME=59;
        int result=1;
        final Object $id=this.getId();
        result=result*59+(($id==null)?43:$id.hashCode());
        final Object $appId=this.getAppId();
        result=result*59+(($appId==null)?43:$appId.hashCode());
        final Object $businessId=this.getBusinessId();
        result=result*59+(($businessId==null)?43:$businessId.hashCode());
        final Object $configKey=this.getConfigKey();
        result=result*59+(($configKey==null)?43:$configKey.hashCode());
        final Object $configValue=this.getConfigValue();
        result=result*59+(($configValue==null)?43:$configValue.hashCode());
        final Object $description=this.getDescription();
        result=result*59+(($description==null)?43:$description.hashCode());
        final Object $isValid=this.getIsValid();
        result=result*59+(($isValid==null)?43:$isValid.hashCode());
        final Object $updateTime=this.getUpdateTime();
        result=result*59+(($updateTime==null)?43:$updateTime.hashCode());
        final Object $insertTime=this.getInsertTime();
        result=result*59+(($insertTime==null)?43:$insertTime.hashCode());
        return result;
    }
    @Override
    public String toString(){
        return "ActivitySetting(id="+this.getId()+", appId="+this.getAppId()+", businessId="+this.getBusinessId()+", configKey="+this.getConfigKey()+", configValue="+this.getConfigValue()+", description="+this.getDescription()+", isValid="+this.getIsValid()+", updateTime="+this.getUpdateTime()+", insertTime="+this.getInsertTime()+")";
    }
}
